package base.chap3;

/**
 * ${DESCRIPTION}
 *
 * @author luoyalan
 * @date 2018/9/16
 */
public class GeneralType<T> {
    T object;

    public GeneralType(T object) {
        this.object = object;
    }

    public T getObject() {
        return this.object;
    }
}

class ShowType {
    public void show(GeneralType<?> o) {
        System.out.println(o.getObject().getClass().getName());
    }
}
